﻿<!--#include FILE="Admin_Include.asp"-->
<!--#include FILE="Admin_UploadClass.asp"-->
<%
Response.Write "<!DOCTYPE html>" & vbCrLf
Response.Write "<head>" & vbCrLf
Response.Write "<title>上传</title>" & vbCrlf
Response.Write "<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>" & vbCrLf
Response.Write "<meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1'>" & vbCrLf
Response.Write "<meta name='apple-mobile-web-app-status-bar-style' content='black'>" & vbCrLf
Response.Write "<meta name='apple-mobile-web-app-capable' content='yes'>" & vbCrLf
Response.Write "<meta name='format-detection' content='telephone=no'>" & vbCrLf
Response.Write "<link rel=""stylesheet"" type=""text/css"" href=""../fonts/font-awesome/css/font-awesome.min.css"" />" & vbCrLf
Response.Write "<link href='../Plugins/layui/css/layui.css' rel='stylesheet' type='text/css' />" & vbCrLf
Response.Write "<link rel=""stylesheet"" href=""../Style/global.css"" media=""all"">" & vbCrLf
Response.Write "<link rel=""stylesheet"" href=""../Style/font.css"" media=""all"">" & vbCrLf
Response.Write "<script type='text/javascript'>" & vbCrLf
Response.Write "var pc_file = '" & InstallDir & "';" & vbCrLf
Response.Write "var admin_file = '" & AdminFolder & "/';" & vbCrLf
Response.Write "</script>" & vbCrLf
Response.Write "<script type='text/javascript' src='../Js/Admin.js'></script>" & vbCrLf
Response.Write "<script type='text/javascript' src='../../Dialog/main.js'></script>" & vbCrLf
Response.Write "<script type='text/javascript' src='../../Dialog/lhgcore.min.js'></script>" & vbCrLf
Response.Write "<script type='text/javascript' src='../../Dialog/lhgcalendar.min.js'></script>" & vbCrLf
Response.Write "</head>" & vbCrlf
Response.Write "<body>" & vbCrlf
Response.Write "<form name=""myform"" method=""post"" action=""Admin_Upload.asp"" enctype=""multipart/form-data"" >" & vbCrlf
Response.Write "  <input type=""hidden"" name=""Action"" value=""upload"">" & vbCrlf
Response.Write "<div class=""admin-main layui-anim layui-anim-upbit"">" & vbCrLf
Response.Write "  <table class=""layui-table table-hover"">" & vbCrlf
Response.Write "    <tr class=""title"">" & vbCrlf
Response.Write "      <td height=""25"" align='center'><strong>文件上传</strong></td>" & vbCrlf
Response.Write "    </tr>" & vbCrlf
Response.Write "    <tr>" & vbCrlf
Response.Write "      <td align=center><script language=""javascript"">" & vbCrlf
Response.Write "	  function setid()" & vbCrlf
Response.Write "	  {" & vbCrlf
Response.Write "	  str='<br>';" & vbCrlf
Response.Write "	  if(!window.myform.upcount.value)" & vbCrlf
Response.Write "	  window.myform.upcount.value=1;" & vbCrlf
Response.Write " 	  for(i=1;i<=window.myform.upcount.value;i++)" & vbCrlf
Response.Write "	     str+='文件'+i+':<input type=""text"" class=""txt"" onchange=""myfile'+i+'.value=this.value"" id=""file'+i+'"" name=""file'+i+'"" size=""26"" style=""width: 160px;height: 38px;padding: 6px 12px;background-color: #fff;border: 1px solid #c2cad8;border-radius: 4px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;"">&nbsp;<button type=""button"" class=""layui-btn uploader"" hidefocus=""true"">浏览<input type=""file"" name=""myfile'+i+'"" id=""myfile'+i+'"" onchange=""file'+i+'.value=this.value""></button><br><br>';" & vbCrlf
Response.Write "	  window.upid.innerHTML=str+'<br>';" & vbCrlf
Response.Write "	  }" & vbCrlf
Response.Write "	  </script><li>要上传的文件数 <input class=""txt"" name=""upcount"" type=""text"" value=""2"" size=""2"">" & vbCrlf
Response.Write "	  <button type=""button"" class=""layui-btn"" hidefocus=""true"" onClick=""setid();"">· 设定 ·</button>" & vbCrlf
Response.Write "	 上传目录: <input class=""txt"" type=""text"" name=""filepath"" style=""width:150px;"" value=""" & Request.QueryString("Path") & """></li></td>" & vbCrlf
Response.Write "    </tr>" & vbCrlf
Response.Write "    <tr>" & vbCrlf
Response.Write "      <td align=center id=""upid""> 文件1: <input type=""text"" class=""txt"" onchange=""myfile1.value=this.value"" id=""file1"" name=""file1"" size=""26"" style=""width: 160px;height: 38px;padding: 6px 12px;background-color: #fff;border: 1px solid #c2cad8;border-radius: 4px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;"">&nbsp;<button type=""button"" class=""layui-btn uploader"" hidefocus=""true"">浏览<input type=""file"" name=""myfile1"" id=""myfile1"" onchange=""file1.value=this.value""></button>" & vbCrlf
Response.Write "      </td>" & vbCrlf
Response.Write "    </tr>" & vbCrlf
Response.Write "    <tr>" & vbCrlf
Response.Write "      <td align=""center""><button type=""submit"" class=""layui-btn"" hidefocus=""true"" accesskey=""s"">提交[S]</button>&nbsp;<button type=""reset"" class=""layui-btn"" hidefocus=""true"" onClick=""return confirm('确认要清空对话框内容？');"" accesskey=""r"">重新填写[R]</button>&nbsp;<button type=""button"" class=""layui-btn"" hidefocus=""true"" accesskey=""c"" onClick=""ownerDialog.close();"">关闭[C]</button></td>" & vbCrlf
Response.Write "    </tr>" & vbCrlf
Response.Write "  </table>" & vbCrlf
Response.Write "</div>" & vbCrLf
Response.Write "</form>" & vbCrlf
Response.Write "<script language=""javascript"">" & vbCrlf
Response.Write "setid();" & vbCrlf
Response.Write "</script>" & vbCrlf
Response.Write "</body>" & vbCrlf
Response.Write "</html>"
%>